package com.nativetalk.bean.reserve;

import java.io.Serializable;
import java.util.Date;

/**
 * 教师可预约时间表
 * @author lizhun
 *
 */
public class TdNtReserveTimeDetail implements Serializable{
	private static final long serialVersionUID = 1L;
    private int reserve_time_id;//设置id
	private int tea_id;//教师id
    private int reserve_week;//可预约周 1：周1
    private int reserve_time;////0代表0点到0:30 1代表0:30到1:00
    private Date reserve_date;//日期(yyyy-MM-dd)
    private int is_valid;//是否可用 0是 1否 2被预约
    private Date date;

    // 非数据库字段 start
    private Date currentDate;//当前系统时间
    private Integer type;//用户设置时间重复的类型：1:day,2:every day,3:weekly
    private Date endDate;
    private String clientTimeZoneId;
    // 非数据库字段 end


    public String getClientTimeZoneId() {
        return clientTimeZoneId;
    }

    public void setClientTimeZoneId(String clientTimeZoneId) {
        this.clientTimeZoneId = clientTimeZoneId;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getCurrentDate() {
        return currentDate;
    }

    public void setCurrentDate(Date currentDate) {
        this.currentDate = currentDate;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getReserve_date() {
        return reserve_date;
    }

    public void setReserve_date(Date reserve_date) {
        this.reserve_date = reserve_date;
    }

    public int getReserve_time_id() {
        return reserve_time_id;
    }

    public void setReserve_time_id(int reserve_time_id) {
        this.reserve_time_id = reserve_time_id;
    }

    public int getTea_id() {
        return tea_id;
    }

    public void setTea_id(int tea_id) {
        this.tea_id = tea_id;
    }

    public int getReserve_week() {
        return reserve_week;
    }

    public void setReserve_week(int reserve_week) {
        this.reserve_week = reserve_week;
    }

    public int getReserve_time() {
        return reserve_time;
    }

    public void setReserve_time(int reserve_time) {
        this.reserve_time = reserve_time;
    }

    public int getIs_valid() {
        return is_valid;
    }

    public void setIs_valid(int is_valid) {
        this.is_valid = is_valid;
    }

    @Override
    public String toString() {
        return "TdNtReserveTimeDetail{" +
                "reserve_time_id=" + reserve_time_id +
                ", tea_id=" + tea_id +
                ", reserve_week=" + reserve_week +
                ", reserve_time=" + reserve_time +
                ", reserve_date=" + reserve_date +
                ", is_valid=" + is_valid +
                ", date=" + date +
                ", currentDate=" + currentDate +
                ", type=" + type +
                ", endDate=" + endDate +
                ", clientTimeZoneId='" + clientTimeZoneId + '\'' +
                '}';
    }
}
